Optimal. Leaf size=156 \[ -\frac {2 b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 d}-\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 156, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {5938, 5914, 8,
30} \begin {gather*} -\frac {x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 d}-\frac {2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 d}-\frac {b x^3 \sqrt {c x-1} \sqrt {c x+1}}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 b x \sqrt {c x-1} \sqrt {c x+1}}{3 c^3 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 5914
Rule 5938
Rubi steps
\begin {align*} \int \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^2}} \, dx &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}\\ &=-\frac {x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (2 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{3 c^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x^2 \, dx}{3 c \sqrt {d-c^2 d x^2}}\\ &=-\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt {d-c^2 d x^2}}-\frac {\left (2 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int 1 \, dx}{3 c^3 \sqrt {d-c^2 d x^2}}\\ &=-\frac {2 b x \sqrt {-1+c x} \sqrt {1+c x}}{3 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{9 c \sqrt {d-c^2 d x^2}}-\frac {2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{3 c^2 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 113, normalized size = 0.72 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (b c x \sqrt {-1+c x} \sqrt {1+c x} \left (6+c^2 x^2\right )-3 a \left (-2+c^2 x^2+c^4 x^4\right )-3 b \left (-2+c^2 x^2+c^4 x^4\right ) \cosh ^{-1}(c x)\right )}{9 c^4 d (-1+c x) (1+c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(381\) vs.
\(2(132)=264\).
time = 4.16, size = 382, normalized size = 2.45
method | result | size |
default | \(a \left (-\frac {x^{2} \sqrt {-c^{2} d \,x^{2}+d}}{3 c^{2} d}-\frac {2 \sqrt {-c^{2} d \,x^{2}+d}}{3 d \,c^{4}}\right )+b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +1\right ) \left (-1+3 \,\mathrm {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (-1+\mathrm {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {3 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (1+\mathrm {arccosh}\left (c x \right )\right )}{8 c^{4} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+4 c^{4} x^{4}+3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -5 c^{2} x^{2}+1\right ) \left (1+3 \,\mathrm {arccosh}\left (c x \right )\right )}{72 c^{4} d \left (c^{2} x^{2}-1\right )}\right )\) | \(382\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 131, normalized size = 0.84 \begin {gather*} -\frac {1}{3} \, b {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{2} d} + \frac {2 \, \sqrt {-c^{2} d x^{2} + d}}{c^{4} d}\right )} \operatorname {arcosh}\left (c x\right ) - \frac {1}{3} \, a {\left (\frac {\sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{2} d} + \frac {2 \, \sqrt {-c^{2} d x^{2} + d}}{c^{4} d}\right )} + \frac {{\left (c^{2} \sqrt {-d} x^{3} + 6 \, \sqrt {-d} x\right )} b}{9 \, c^{3} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 146, normalized size = 0.94 \begin {gather*} -\frac {3 \, {\left (b c^{4} x^{4} + b c^{2} x^{2} - 2 \, b\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (b c^{3} x^{3} + 6 \, b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} + 3 \, {\left (a c^{4} x^{4} + a c^{2} x^{2} - 2 \, a\right )} \sqrt {-c^{2} d x^{2} + d}}{9 \, {\left (c^{6} d x^{2} - c^{4} d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{\sqrt {d-c^2\,d\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________